package com.gzc.pm.dao
{
	import com.gzc.pm.bean.DetectioncardBean;
	import com.gzc.pm.net.MyRoFactory;

	public class DetectionCardDao
	{
		public function DetectionCardDao()
		{
		}
		
		public function getByPrId(prId:int, sDateStr:String, eDateStr:String, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('detectionCardRo', resultHandler, '加载检测项', 'getByPrId', prId, sDateStr, eDateStr);
		}
		
		public function getInPrIds(prIdsStr:String, sDateStr:String, eDateStr:String, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('detectionCardRo', resultHandler, '加载检测项', 'getInPrIds', prIdsStr, sDateStr, eDateStr);
		}
		
		public function add(bean:DetectioncardBean, resultHandler:Function):void{
			MyRoFactory.getInstance().callFunction('detectionCardRo', resultHandler, '添加检测项', 'add', bean);
		}
		
	}
}